/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 芝加哥风味意大利辣味披萨
 * @Description *
 * @Package designmodel.factorymodel2.ex2.model
 * @date 2021/3/9 11:00 上午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.factorymodel2.ex2.model;

import java.text.MessageFormat;

public class ChicagoStylePepperonPizza extends Pizza {


    public ChicagoStylePepperonPizza() {
        name = "芝加哥风味意大利辣味披萨";
        dough = "薄面包皮";
        sauce = "意大利辣酱";
        toppings.add("意大利白干酪");
        toppings.add("意大利辣椒面");
    }

    @Override
    public void prepare() {
        bake();
        cut();
        box();

        System.out.println(MessageFormat.format("{}准备好啦!", getName()));

    }


}
